package com.lyl.domaindemo.Infrastructure;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.io.Serializable;

/**
 * @author lyl
 * @date 2023/5/19
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class PageImpl implements Serializable{

    @JsonProperty("pageInfo")
    private Object pageInfo;

    @JsonProperty("pageNumber")
    private Integer pageNumber;

    @JsonProperty("pageSize")
    private Integer pageSize;

    @JsonProperty("totalElements")
    private Integer totalElements;

    @JsonProperty("totalPages")
    private Integer totalPages;
}
